package com.zl.common.enumType;


public enum Gglb {
	GG_GCSJ("gg_gcjs","信息公告-工程建设"),
	GG_GQCG("gg_gqcg","信息公告-国企采购"),
	GG_ZFCG("gg_zfcg","信息公告-政府采购"),
	GG_KYQJY("gg_kyqjy","信息公告-矿业权交易"),
	GG_TDJY("gg_tdjy","信息公告-土地交易"),
	JG_GCSJ("jg_gcjs","投标结果-工程建设"),
	JG_GQCG("jg_gqcg","投标结果-国企采购"),
	JG_ZFCG("jg_zfcg","投标结果-政府采购"),
	JG_KYQJY("jg_kyqjy","投标结果-矿业权交易"),
	JG_TDJY("jg_tdjy","投标结果-土地交易");
	
	
	private String code;
	private String name;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private Gglb(String code, String name) {
		this.code = code;
		this.name = name;
	}
	
	public static Gglb getGglb(String code) {
		for (Gglb t : Gglb.values()) {
			if ( code.equals(t.getCode())) {
				return t;
			}
		}
		return null;
	}
}
